#ifndef SRC_PAGES_FRM08_H
#define SRC_PAGES_FRM08_H

#include "../HmiApp.h"
#include "widgets/Widgets.h"
#include "type/Types.h"
#include "misc/misc.h"
#include "op/DataSample.h"
#include "op/EventMgr.h"
#include "op/RCP.h"
#include "op/OpLog.h"
#include "util/DateUtil.h"
#include "util/StringUtil.h"

using namespace std;
using namespace stt;
using namespace stt::op;
using namespace stt::db;
using namespace stt::misc;
using namespace stt::data;
using namespace stt::util;
using namespace stt::constant;

/********************************
 *
 *  页面类
 *
 *  注意：用户可在指定位置添加修改内容
 *

 ********************************/
class HmiApp;

class Frm08: public STTPage {
public:
	STTButton *wMMButton1;
	STTArc *wMArc1;
	STTRoller *wMRoller1;
	void wMRoller1_vch_cb(uint16_t code, LvEvent e);

	STTRoller *wMRoller2;
	void wMRoller2_vch_cb(uint16_t code, LvEvent e);

	STTRoller *wMRoller3;
	void wMRoller3_vch_cb(uint16_t code, LvEvent e);

	STTButton *wMButton1;
	void wMButton1_clk_cb(uint16_t code, LvEvent e);

	STTLabel *wMLabel1;
	STTLabel *wMLabel2;
	STTLabel *wMLabel3;
	STTLabel *wMLabel4;
	STTTimer *wMTimer1;
	void wMTimer1_timer_cb(uint16_t code, LvEvent e);

	STTButton *wMButton2;
	void wMButton2_clk_cb(uint16_t code, LvEvent e);

public:
	Frm08(HmiApp *app, STTWidget *par, const string &id, const string &desc = "");
	virtual ~Frm08();
	void onInit();
	void createParts();
	void onLoad();
	bool onClosing();
	void onDispose();
	/*CUSTOM_CODE_BEGIN*/
	/*CUSTOM_CODE_END*/

protected:
	HmiApp *hmiApp;
};

#endif